package com.wf.service;

import cn.hutool.core.lang.tree.Tree;
import com.wf.domain.SysPermission;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wf.domain.SysRole;
import com.wf.dto.AssignPermDTO;
import org.springframework.cloud.openfeign.FeignClient;

import java.util.HashMap;
import java.util.List;

/**
* @author mpk16
* @description 针对表【sys_permission(权限表)】的数据库操作Service
* @createDate 2024-10-02 09:54:26
*/

public interface SysPermissionService extends IService<SysPermission> {


    List<Tree<Integer>> getPermissionList(String roleId);

    void updatePermission(AssignPermDTO assignPermDTO);

    List<Tree<Integer>> getMenus(List<SysRole> roles);

}
